package com.mywebsite.core.client.mvp;

import com.google.gwt.activity.shared.Activity;
import com.google.gwt.place.shared.Place;

public class ActivityPlace<T extends Activity> extends Place{
	
	private String placeName;
	protected T activity;
	
	public ActivityPlace() {
		setPlaceName("");
	}

	public ActivityPlace(T activity) {
		this.activity = activity;
		setPlaceName("");
	}

	public T getActivity() {
		return activity;
	}

	public void setPlaceName(String token) {
		this.placeName = token;
	}

	public String getPlaceName() {
		return placeName;
	}

}
